Skip to main content

ChartSdkCustomStylingConfig

ChartSdkCustomStylingConfig : {appBackground?: {color?: string } , appPanelColor?: {color?: string } , chartColorPalettes?: {colors: string[] }[] , chartFeatureToFontGuid?: Record< CustomizableChartFeature, string > , disableColorRotation?: boolean , fontFaces?: TSFontFace[] , numColorPalettes?: number }

Used for Custom color pallete and Custom font for charts defined in Style customisations inside thoughtspot admin or developer section

Defined in : link:https://github.com/thoughtspot/ts-chart-sdk/blob/f477c20/src/types/common.types.ts#L246

Parameters

appBackground

appBackground: {color?: string }

Optional

Parameters

color

color: string

Optional

appPanelColor

appPanelColor: {color?: string }

Optional

Parameters

color

color: string

Optional

chartColorPalettes

chartColorPalettes: {colors: string[] }[]

Optional

chartFeatureToFontGuid

chartFeatureToFontGuid: Record< CustomizableChartFeature, string >

Optional

disableColorRotation

disableColorRotation: boolean

Optional

fontFaces

fontFaces: TSFontFace[]

Optional

numColorPalettes

numColorPalettes: number

Optional